﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteMain.Master" Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.List<TvGuide.UI.Models.ExternalVideoModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	VideosList
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Head" runat="server">
    <link href="/Content/admin.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="external-video-content">
        <table class="admin-table" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <th>
                    Title
                </th>
                <th>
                    Url
                </th>
                <th>
                    Views
                </th>
            </tr>
    

        <% foreach (var item in Model) {%>
            <tr>
                <td>
                    <%= item.title %>
                </td>
                <td>
                    <%= item.url %>
                </td>
                <td>
                    <%= item.views %>
                </td>
            </tr>
        <% } %>

        </table>
    </div>
</asp:Content>